Integrand size = 26, antiderivative size = 91 \[ \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^3} \, dx=-\frac {\sqrt {a+b x+c x^2}}{4 c d^3 (b+2 c x)^2}+\frac {\arctan \left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{8 c^{3/2} \sqrt {b^2-4 a c} d^3} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {698, 702, 211} \[ \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^3} \, dx=\frac {\arctan \left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{8 c^{3/2} d^3 \sqrt {b^2-4 a c}}-\frac {\sqrt {a+b x+c x^2}}{4 c d^3 (b+2 c x)^2} \]
[In]
[Out]
Rule 211
Rule 698
Rule 702
Rubi steps \begin{align*} \text {integral}& = -\frac {\sqrt {a+b x+c x^2}}{4 c d^3 (b+2 c x)^2}+\frac {\int \frac {1}{(b d+2 c d x) \sqrt {a+b x+c x^2}} \, dx}{8 c d^2} \\ & = -\frac {\sqrt {a+b x+c x^2}}{4 c d^3 (b+2 c x)^2}+\frac {\text {Subst}\left (\int \frac {1}{2 b^2 c d-8 a c^2 d+8 c^2 d x^2} \, dx,x,\sqrt {a+b x+c x^2}\right )}{2 d^2} \\ & = -\frac {\sqrt {a+b x+c x^2}}{4 c d^3 (b+2 c x)^2}+\frac {\tan ^{-1}\left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{8 c^{3/2} \sqrt {b^2-4 a c} d^3} \\ \end{align*}
Time = 10.23 (sec) , antiderivative size = 103, normalized size of antiderivative = 1.13 \[ \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^3} \, dx=\frac {-\frac {2 c (a+x (b+c x))}{(b+2 c x)^2}-\sqrt {\frac {c (a+x (b+c x))}{-b^2+4 a c}} \text {arctanh}\left (2 \sqrt {\frac {c (a+x (b+c x))}{-b^2+4 a c}}\right )}{8 c^2 d^3 \sqrt {a+x (b+c x)}} \]
[In]
[Out]
Time = 2.48 (sec) , antiderivative size = 89, normalized size of antiderivative = 0.98
method | result | size |
pseudoelliptic | \(\frac {-\frac {\sqrt {c \,x^{2}+b x +a}}{4 c^{2} x^{2}+4 b c x +b^{2}}-\frac {\operatorname {arctanh}\left (\frac {2 c \sqrt {c \,x^{2}+b x +a}}{\sqrt {c \left (4 a c -b^{2}\right )}}\right )}{2 \sqrt {c \left (4 a c -b^{2}\right )}}}{4 c \,d^{3}}\) | \(89\) |
default | \(\frac {-\frac {2 c \left (\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}\right )^{\frac {3}{2}}}{\left (4 a c -b^{2}\right ) \left (x +\frac {b}{2 c}\right )^{2}}+\frac {2 c^{2} \left (\frac {\sqrt {4 \left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{c}}}{2}-\frac {\left (4 a c -b^{2}\right ) \ln \left (\frac {\frac {4 a c -b^{2}}{2 c}+\frac {\sqrt {\frac {4 a c -b^{2}}{c}}\, \sqrt {4 \left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{c}}}{2}}{x +\frac {b}{2 c}}\right )}{2 c \sqrt {\frac {4 a c -b^{2}}{c}}}\right )}{4 a c -b^{2}}}{8 d^{3} c^{3}}\) | \(222\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 174 vs. \(2 (75) = 150\).
Time = 0.51 (sec) , antiderivative size = 378, normalized size of antiderivative = 4.15 \[ \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^3} \, dx=\left [-\frac {{\left (4 \, c^{2} x^{2} + 4 \, b c x + b^{2}\right )} \sqrt {-b^{2} c + 4 \, a c^{2}} \log \left (-\frac {4 \, c^{2} x^{2} + 4 \, b c x - b^{2} + 8 \, a c - 4 \, \sqrt {-b^{2} c + 4 \, a c^{2}} \sqrt {c x^{2} + b x + a}}{4 \, c^{2} x^{2} + 4 \, b c x + b^{2}}\right ) + 4 \, {\left (b^{2} c - 4 \, a c^{2}\right )} \sqrt {c x^{2} + b x + a}}{16 \, {\left (4 \, {\left (b^{2} c^{4} - 4 \, a c^{5}\right )} d^{3} x^{2} + 4 \, {\left (b^{3} c^{3} - 4 \, a b c^{4}\right )} d^{3} x + {\left (b^{4} c^{2} - 4 \, a b^{2} c^{3}\right )} d^{3}\right )}}, -\frac {{\left (4 \, c^{2} x^{2} + 4 \, b c x + b^{2}\right )} \sqrt {b^{2} c - 4 \, a c^{2}} \arctan \left (\frac {\sqrt {b^{2} c - 4 \, a c^{2}} \sqrt {c x^{2} + b x + a}}{2 \, {\left (c^{2} x^{2} + b c x + a c\right )}}\right ) + 2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} \sqrt {c x^{2} + b x + a}}{8 \, {\left (4 \, {\left (b^{2} c^{4} - 4 \, a c^{5}\right )} d^{3} x^{2} + 4 \, {\left (b^{3} c^{3} - 4 \, a b c^{4}\right )} d^{3} x + {\left (b^{4} c^{2} - 4 \, a b^{2} c^{3}\right )} d^{3}\right )}}\right ] \]
[In]
[Out]
\[ \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^3} \, dx=\frac {\int \frac {\sqrt {a + b x + c x^{2}}}{b^{3} + 6 b^{2} c x + 12 b c^{2} x^{2} + 8 c^{3} x^{3}}\, dx}{d^{3}} \]
[In]
[Out]
Exception generated. \[ \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^3} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 246 vs. \(2 (75) = 150\).
Time = 0.31 (sec) , antiderivative size = 246, normalized size of antiderivative = 2.70 \[ \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^3} \, dx=\frac {\arctan \left (-\frac {2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} c + b \sqrt {c}}{\sqrt {b^{2} c - 4 \, a c^{2}}}\right )}{4 \, \sqrt {b^{2} c - 4 \, a c^{2}} c d^{3}} + \frac {2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{3} c + 3 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} b \sqrt {c} + {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} b^{2} + 2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} a c + a b \sqrt {c}}{4 \, {\left (2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} c + 2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} b \sqrt {c} + b^{2} - 2 \, a c\right )}^{2} c d^{3}} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^3} \, dx=\int \frac {\sqrt {c\,x^2+b\,x+a}}{{\left (b\,d+2\,c\,d\,x\right )}^3} \,d x \]
[In]
[Out]